﻿<phone:PhoneApplicationPage 
    x:Class="Puzzle.EndGamePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Style="{StaticResource GridLayoutRoot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" MinHeight="146"/>
            <RowDefinition Height="607"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="0">
            <TextBlock x:Name="ApplicationTitle" Text="Slide Number" Style="{StaticResource PhoneTextNormalStyle}" Padding="0,30,0,0" Margin="30,0,0,0"/>
            <TextBlock x:Name="PageTitle" Text="YOU WIN!!" Margin="10" Style="{StaticResource PhoneTextTitle1Style}" Foreground="#FF0CB000" TextAlignment="Center" FontFamily="Kristen ITC"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="242*" />
                <RowDefinition Height="365*" />
            </Grid.RowDefinitions>
            <Image HorizontalAlignment="Center" Name="image1" Stretch="Uniform" VerticalAlignment="Top" Source="/Puzzle;component/win.png" />
            <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Name:" VerticalAlignment="Top" Margin="8,14,0,0" Grid.Row="1"/>
            <TextBox x:Name="txtName" Height="80" Margin="8,39,8,0" Grid.Row="1" TextWrapping="Wrap" VerticalAlignment="Top"/>
            <TextBlock HorizontalAlignment="Left" Height="36" Margin="8,119,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Your time:" VerticalAlignment="Top" Width="95"/>
            <Button x:Name="btnSendScore" Content="Send score" Height="71" Margin="8,0,8,69" Grid.Row="1" VerticalAlignment="Bottom" Click="btnSendScore_Click" Style="{StaticResource BtnMenuStylle}" />
            <TextBlock x:Name="lblTime" Margin="16,153,0,146" Grid.Row="1" TextWrapping="Wrap" Text="Time here" FontSize="25.333" Padding="2" />
        </Grid>
    </Grid>

    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
